%% checkPressureFileType
%
% Takes in user input if this is either a .txt file or excel and outputs
% file path to file.
%
%% Syntax
% [filePathPressure] = checkPressureFileType(FileTypeInput)
%
%
%
%
%% Description
% Takes in user input if this is either a .txt file or excel and outputs
% file path to file.
%
%% Arguments
%* FileTypeInput                  - Double: Signle value of 0 or 1 for
%                                         either txt or xlsx 
%
%% Returns
%* filePathPressure               - str: A str to the file path of the
%                                         pressure file
%                                   
%
%% Function Side Effects
%* N/A
%
%% Exceptions
%
%
%% See Also
% N/A

function [filePathPressure, fileName] = checkPressureFileType(FileTypeInput)

if FileTypeInput == 0 || FileTypeInput == 2
    [filePathPressure, fileName] = getFilePath('*.txt', 'Text File')
else
    [filePathPressure, fileName] = getFilePath('*.xlsx', 'Excel File')
end

end


